package com.gwnet.shop.domain.vo;


import com.gwnet.shop.domain.ShopAddress;
import java.util.List;

/**
 * 生成订单时 用来封装前台传递的订单相关的信息
 * 比如用户信息
 * 收货地址信息
 * 购买商品 及 规格 及对应购买数量等
 */
public class OrderInfoVo {

   /** 收货地址 */
   private ShopAddress address;

   /** 店铺名称 */
   private String tenantName;

   private List<SpecGroupVo> groups;

   /** 打包费用 */
   private Double totalPackageMoney;

   /** 配送费用 */
   private Double deliverAmount;

   /** 商品金额 */
   private Double goodsAmount;

   public ShopAddress getAddress() {
      return address;
   }

   public void setAddress(ShopAddress address) {
      this.address = address;
   }

   public String getTenantName() {
      return tenantName;
   }

   public void setTenantName(String tenantName) {
      this.tenantName = tenantName;
   }

   public List<SpecGroupVo> getGroups() {
      return groups;
   }

   public void setGroups(List<SpecGroupVo> groups) {
      this.groups = groups;
   }

   public Double getTotalPackageMoney() {
      return totalPackageMoney;
   }

   public void setTotalPackageMoney(Double totalPackageMoney) {
      this.totalPackageMoney = totalPackageMoney;
   }

   public Double getDeliverAmount() {
      return deliverAmount;
   }

   public void setDeliverAmount(Double deliverAmount) {
      this.deliverAmount = deliverAmount;
   }

   public Double getGoodsAmount() {
      return goodsAmount;
   }

   public void setGoodsAmount(Double goodsAmount) {
      this.goodsAmount = goodsAmount;
   }
}


